package com.woniuxy.meal.form;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@ApiModel("条件查询菜品参数")
public class FoodVarietySearchForm {
    @NotNull
    @ApiModelProperty("商铺ID")
    private Long storeId;
    @ApiModelProperty("当前页")
    private Integer current;
    @ApiModelProperty("每页条数")
    private Integer size;

    /**
     * 菜品名字
     */
    @ApiModelProperty("菜品名称")
    private String foodName;

    /**
     * 最小售价
     */
    @ApiModelProperty("最小售价")
    private BigDecimal startPrice;
    /**
     * 最大售价
     */
    @ApiModelProperty("最大售价")
    private BigDecimal endPrice;
    /**
     * 菜品类别id
     */
    @ApiModelProperty("菜品类别id")
    private Integer typeId;

}
